package position

import (
	"github.com/gin-gonic/gin"
	"shimmer/neusoft_club_backend/controllers/cons"
	"shimmer/neusoft_club_backend/middlewares/auth_middleware"
	"shimmer/neusoft_club_backend/services"
)
func findAllPositionsInClub(c *gin.Context) {
	clubBidding := &cons.ClubUriParamBinding{}
	if err := c.ShouldBindUri(clubBidding);err != nil {
		services.AbortWithError(c,err)
		return
	}
	panic("not implemented")
}

func upsertPosition(c *gin.Context) {
	panic("not implemented")
}
func ConfigureClubPositionController(r *gin.RouterGroup) {
	r.GET("/",findAllPositionsInClub)
	r.POST("/",auth_middleware.AuthLoginMiddleware(),upsertPosition)
}